AmeliaBooking\Application\Services\Reservation\AbstractReservationService D

Total Complexity 162
Dependencies 36
Dependents 0
Total lines 1,100
Lines of code 686
Logical lines of code 329
Comment lines 194
Methods 16
Properties 1

Methods 16

Method Rating Maintainability Complexity Lines of code
processBooking()
D
25
33 174
finalize()
C
32 21 115
processRequest()
B
38 22 64
addPayment()
B
38 22 64
getPaymentAmount()
A
44 15 38
runPostBookingActions()
A
42 10 55
calculateDepositAmount()
A
53 9 24
getSuccessBookingResponse()
A
41 5 64
getWcStatus()
S
59 7 12
getResultData()
S
55 5 21
deleteReservation()
S
55 5 20
inspectMinimumCancellationTime()
S
62 2 12
deleteUserIfNew()
S
71 2 6
setToken()
S
68 2 7
__construct()
S
81 1 3
getNew()
S
68 1 7